<script setup lang="ts">
import { Delete, Search } from '@element-plus/icons-vue'

const emit = defineEmits(['reset', 'search'])
</script>

<template>
  <div>
    <el-button type="primary" @click="emit('search')">
      <template #icon>
        <el-icon>
          <Search />
        </el-icon>
      </template>
      搜索
    </el-button>
    <el-button @click="emit('reset')">
      <template #icon>
        <el-icon>
          <Delete />
        </el-icon>
      </template>
      重置
    </el-button>
  </div>
</template>

<style scoped>

</style>
